package org.bee.mappers;

import org.apache.ibatis.annotations.Param;
import org.bee.model.Dict;
import org.bee.model.DictExample;

import java.util.List;

/**
* @author 陈国松
* @date 2024-09-29 23:22:13
* @description 字典表Mapper层
* 表 dict
*/
public interface DictMapper {

    long countByExample(DictExample example);
    
    int deleteByExample(DictExample example);

    int deleteByPrimaryKey(@Param("id") String id);

    int insert(Dict record);
    
    int insertSelective(Dict record);
    
    List<Dict> selectByExample(DictExample example);

    Dict selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Dict record, @Param("example") DictExample example);
    
    int updateByExample(@Param("record") Dict record, @Param("example") DictExample example);

    int updateByPrimaryKeySelective(Dict record);

    int updateByPrimaryKey(Dict record);
}